package com.lwq.springbootdruid.annotation;

import org.springframework.stereotype.Component;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author liwq
 * @description
 * @date 2021/7/15 9:07
 */
@Target(ElementType.METHOD) // 注解用在哪里，METHOD代表标记在方法上
@Retention(RetentionPolicy.RUNTIME) // 注解在哪个阶段运行
@Component
public @interface MyLogAnnotation {
    String value() default "";
}
